From db6db929b183357e98ea113384c33ea90f618958 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Wed, 2 Nov 2016 09:18:30 -0700 Subject: [PATCH] Fix some tests from the previous merge --- tests/freshness.rs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tests/freshness.rs b/tests/freshness.rs index 63a488cd3..03baf550e 100644 --- a/tests/freshness.rs +++ b/tests/freshness.rs @@ -396,10 +396,11 @@ fn no_rebuild_if_build_artifacts_move_backwards_in_time() { execs().with_status(0)); p.root().move_into_the_past(); - p.root().join("target").move_into_the_past(); - assert_that(p.cargo("build").env("RUST_LOG", ""), - execs().with_status(0).with_stdout("").with_stderr("")); + assert_that(p.cargo("build"), + execs().with_status(0).with_stdout("").with_stderr("\ +[FINISHED] [..] +")); } #[test] @@ -427,11 +428,11 @@ fn rebuild_if_build_artifacts_move_forward_in_time() { execs().with_status(0)); p.root().move_into_the_future(); - p.root().join("target").move_into_the_future(); assert_that(p.cargo("build").env("RUST_LOG", ""), execs().with_status(0).with_stdout("").with_stderr("\ [COMPILING] a v0.0.1 ([..]) [COMPILING] forwards_in_time v0.0.1 ([..]) +[FINISHED] [..] ")); } -- 2.30.2